//
//  ALDBManage+Cache.h
//  ios-loan-assistant
//
//  Created by hcs on 2018/9/11.
//  Copyright © 2018年 guoqingping. All rights reserved.
//

#import "ALDBManage.h"
/**
 *  缓存操作
 */
@interface ALDBManage (Cache)
/**
 *  添加缓存
 *
 *  @param val 缓存值
 *  @param key 键值key
 */
- (BOOL)addCacheVal:(id)val forKey:(NSString *)key;

/**
 *  获取缓存
 *
 *  @param key 键值key
 *
 *  @return 返回缓存值
 */
- (id)cacheValForKey:(NSString *)key;
@end
